package cn.darkhorse.workflow.auto.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.time.LocalDateTime;
import java.io.Serializable;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 用户已办事项
 * </p>
 *
 * @author mybatis-plus-generator
 * @since 2022-08-08
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
public class BpmnAlreadyDealtTask implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 项目ID
     */
    private Long projectId;

    /**
     * 项目名称
     */
    private String projectName;

    /**
     * 单据ID
     */
    private String businessId;

    /**
     * 单据类型
     */
    private String businessType;

    /**
     * 单据名称
     */
    private String businessName;

    /**
     * 单据编码
     */
    private String businessCode;

    /**
     * 办理时间
     */
    private LocalDateTime manageTime;

    /**
     * 流程实例ID
     */
    private String workflowInstanceId;

    /**
     * 办理人员
     */
    private String dealtUser;

    /**
     * 发起人
     */
    private String startUser;

    /**
     * 单据是否中途结束 0：否   1：是
     */
    private Integer state;


}
